<?php
error_reporting(0);
$isadmin=1; 
include '../comm/config.php';
include '../comm/checkpostandget.php';
include 'check.php';
$webname=$_POST['webname']; 
$url=$_POST['url']; 
$wz=$_POST['wz']; 
$sj= date("Y-m-d H:i:s");  

$q = "insert into ".$BIAOTOU."yqlj (webname,url,wz,addtime,leibie) values('".$webname."','".$url."',".$wz.",'".$sj."',0)";
mysql_query($q);
admin_log('新增友情链接');
mysql_close();
header('Location: yqljlist.php'); 
?>